{template 'public/header'}
{template 'public/comhead'}
<link rel="stylesheet" type="text/css" href="../addons/zh_gjw/template/public/ygcsslist.css">
<style type="text/css">
    .yg5_key>div{float: left;line-height: 34px;}
    .store_td1{height: 45px;}
    .store_list_img{width: 60px;height: 60px;}
    .yg5_tabel{border-color: #e5e5e5;outline: 1px solid #e5e5e5;}
    .yg5_tr2>td{padding: 10px 15px;border: 1px solid #e5e5e5;text-align:center;}
    .yg5_tr1>th{
        border: 1px solid #e5e5e5;
        padding-left: 15px;
        background-color: #FAFAFA;
        font-weight: bold;
        text-align: center;
    }
    .yg5_btn{background-color: #EEEEEE;color: #333;border: 1px solid #E4E4E4;border-radius: 6px;width: 100px;height: 34px;}
    /*#frame-2{display: block;visibility: visible;}*/
</style>
<ul class="nav nav-tabs">
    <span class="ygxian"></span>
    <div class="ygdangq">当前位置:</div>    
    <li><a href="{php echo $this->createWebUrl('reputationrecord', array('cus_id' => $_GPC['cus_id']))}">商家个人信誉保证金列表</a></li>
  	<li class="active"><a>商家个人信誉保证金消费列表</a></li>
</ul>
<div class="main">
    <div class="panel panel-default">
        <div class="panel-heading">
            商家管理&nbsp;>&nbsp;商家个人信誉保证金消费列表
        </div>
        <div class="panel-body" style="padding: 0px 15px;">
            <div class="row">
                <table class="yg5_tabel col-md-12">
                    <tr class="yg5_tr1" style="height: 60px">             
                        <th class="col-md-1">数量</th>   
                        <th class="col-md-1">类型</th>  
                        <th class="col-md-1">时间</th>
                        <th class="col-md-2">操作</th>
                    </tr>
                    {loop $list $row}
                    <!--1、抖宝；2、微拍；3、地摊；4、商店；5、为您定制；6我要定制；7抖宝推荐；8抖宝置顶；9；微拍推荐；10、微拍置顶；11、地摊推荐；12地摊置顶；13、商城推荐；14、商城置顶；15、为您定制推荐；16、为您定制置顶；17、我要定制推荐；18，我要定制置顶-->
                    <tr class="yg5_tr2">
                        <td>{$row['number']}</td>
                      	{if $row['type']==1}
                            <td><a>抖宝发布</a></td> 
                            {elseif $row['type']==2}
                            <td><a>微拍发布</a></td>
                            {elseif $row['type']==3}
                            <td><a>地摊发布</a></td>
                            {elseif $row['type']==4}
                            <td><a>商城发布</a></td>
                            {elseif $row['type']==5}
                            <td><a>为您定制</a></td>
                            {elseif $row['type']==6}
                            <td><a>我要定制</a></td>
                            {elseif $row['type']==7}
                            <td><a>抖宝推荐</a></td>
                            {elseif $row['type']==8}
                            <td><a>抖宝置顶</a></td>
                            {elseif $row['type']==9}
                            <td><a>微拍推荐</a></td>
                            {elseif $row['type']==10}
                            <td><a>微拍置顶</a></td>
                            {elseif $row['type']==11}
                            <td><a>地摊推荐</a></td>
                            {elseif $row['type']==12}
                            <td><a>地摊置顶</a></td>
                            {elseif $row['type']==13}
                            <td><a>商城推荐</a></td>
                            {elseif $row['type']==14}
                            <td><a>商城置顶</a></td>
                            {elseif $row['type']==15}
                            <td><a>为您定制推荐</a></td>
                            {elseif $row['type']==16}
                            <td><a>为您定制置顶</a></td>
                            {elseif $row['type']==17}
                            <td><a>我要定制推荐</a></td>
                            {elseif $row['type']==18}
                            <td><a>我要定制置顶</a></td>
                        {/if}
                        <td>{$row['time']}</td>
                        <td>
                            
                            <a href="{php echo $this->createWebUrl('repucost', array('id' => $row['id'],'cus_id' => $_GPC['cus_id']))}" class="storespan btn btn-xs">
                            <span class="fa fa-trash-o"></span>
                            <span class="bianji">删除
                                <span class="arrowdown"></span>
                            </span>                           
                            </a>
                        </td>
                    </tr>
                    
                </div>
            </div>
            
            
                    {/loop}
                </table>
            </div>
    </div>
    {$pager}
</div>
<script type="text/javascript">
    $(function(){
        $("#frame-6").show();
        $("#yframe-6").addClass("wyactive");
    })
</script>